<?php
		@include_once('../../../includes/classes/class.Conexao.php');
		@include_once('../../../includes/classes/class.TemplatePower.php');
		@include_once('../../../includes/classes/class.Paginador.php');
		include_once('class.CarregaLogin.php');
		extract($_REQUEST);
		
		$CarregaLogin = new CarregaLogin();
		
		switch(@$evento){
			case 'logar':
				$CarregaLogin->loga($login,$pwd);
			break;
				
			case 'deslogar':
				$CarregaLogin->deslogar();
			break;
		
		}
		
		print $CarregaLogin->logado();
?>